import { UserEntityPropNameEnum } from '../enums/user-entity-prop-name.enum'

/**
 * UserVo 类型
 */
export type UserVo = {
  [UserEntityPropNameEnum.ID]: number;
  [UserEntityPropNameEnum.AVATAR]: string;
  [UserEntityPropNameEnum.ACCOUNT]: string;
  [UserEntityPropNameEnum.USERNAME]: string;
  [UserEntityPropNameEnum.NICKNAME]: string;
  [UserEntityPropNameEnum.EMAIL]: string;
  [UserEntityPropNameEnum.REMARK]: string;
}

/**
 * UserVo 默认值对象
 */
export const userVoDefault: UserVo = {
  [UserEntityPropNameEnum.ID]: 0,
  [UserEntityPropNameEnum.AVATAR]: "",
  [UserEntityPropNameEnum.ACCOUNT]: "",
  [UserEntityPropNameEnum.USERNAME]: "",
  [UserEntityPropNameEnum.NICKNAME]: "",
  [UserEntityPropNameEnum.EMAIL]: "",
  [UserEntityPropNameEnum.REMARK]: ""
};
